<!DOCTYPE html>
<html>
<head>
	<title></title>
	<style type="text/css"></style>
	<script type="text/javascript" src="./js/d3.v3.min.js"></script>
	<script type="text/javascript">
		window.onload=function(){
			//选择所有
			// let p=d3.selectAll("p").text("西安")
			// console.log(p)

			//选择一个
			// d3.select("p").text("西安")
		}
	</script>
</head>
<body>
	<p>北京</p>
	<p>上海</p>
	<p>广州</p>
	<p>深圳</p>

</body>
</html>